package com.six.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data

public class MyOrderVO {
    private Long id;
    private Long tableId;
    private BigDecimal totalPrice;
    private Long storeId;
    private Integer status;          // 1 待支付 2 已支付 3 已取消
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private List<OrderItemVO> items; // 明细
}
